package factory;

public class mainboardFactory {
	
	
	public static Mainboard createMainboard(int type) {
		Mainboard mainboard = null;
		if (type == 1) {
			mainboard = new IntelMainBoard(74);
		} else if (type == 2) {
			mainboard = new AmdMainBoard(100);
		}
		
		return mainboard;
	}
}
